package sapling.logic.object.pcb;

public class Management {

	private int priority;

	private int initPriority;

	private int liveLong;
	private int initLiveLong;

	/**
	 * 进程已经等待的时间片数
	 */
	private int times;

	public Management(int priority, int liveLong) {
		this.priority = priority;
		this.initPriority = priority;
		this.liveLong = liveLong;
		this.initLiveLong = liveLong;
		this.times = 0;
	}

	public int getPriority() { return this.priority; }
	public int getInitPriority() { return this.initPriority; }

	public void setPriority(int priority) { this.priority = priority; }

	public int getLiveLong() {
		return liveLong;
	}

	public void setLiveLong(int liveLong) {
		this.liveLong = liveLong;
	}

	public int getInitLiveLong() { return initLiveLong; }

	public int getTimes() { return times; }

	public void setTimes(int times) { this.times = times; }
}
